package cn.daniel.framework.dto;

import cn.daniel.framework.core.dto.BaseDTO;

import java.io.Serializable;

/**
 * @author daniel.tuen
 * @date 2025/9/4 14:56
 * @description
 */
public class IPBlackWhiteListDTO extends BaseDTO implements Serializable {

    private static final long serialVersionUID = -8011312899134165099L;

    /**
     * 主键
     */
    private Long id;
    /**
     * ip 地址
     */
    private String ipAddress;
    /**
     * ip 地址类型: IPv4 IPv6
     */
    private String ipType;
    /**
     * 名单类型 1 黑名单 2 白名单
     */
    private Integer listType;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public String getIpType() {
        return ipType;
    }

    public void setIpType(String ipType) {
        this.ipType = ipType;
    }

    public Integer getListType() {
        return listType;
    }

    public void setListType(Integer listType) {
        this.listType = listType;
    }
}
